package com.bwda.dsrs.systemservice.domain.po.verifycode;

import java.util.Date;
import lombok.Data;
/**
 * 验证码实体
 * @author yanyuemei
 * @date 2019/4/27
 */
@Data
public class VerifyCodePo {

	/**
	 * ID主键
	*/
	private Integer id;
	/**
	 * 用户编码
	*/
	private String userCode;
	/**
	 * 姓名
	*/
	private String userName;
	/**
	 * 验证码
	*/
	private String verifyCode;
	/**
	 * 验证码详细内容
	*/
	private String verifyContent;
	/**
	 * 请求URI
	*/
	private String requestUri;
	/**
	 * 请求内容
	*/
	private String requestContent;
	/**
	 * 创建时间
	*/
	private Date createTime;
	/**
	 * 失效时间
	*/
	private Date invaliadTime;
	/**
	 * 验证码类型
	*/
	private Integer verifyType;

	public Date getCreateTime() {
		if (createTime != null){
			return (Date) createTime.clone();
		}

		return null;
	}

	public void setCreateTime(Date createTime) {
		if (createTime != null){
			this.createTime = (Date) createTime.clone();
		}
	}

	public Date getInvaliadTime() {
		if (invaliadTime != null){
			return (Date) invaliadTime.clone();
		}

		return null;
	}

	public void setInvaliadTime(Date invaliadTime) {
		if (invaliadTime != null){
			this.invaliadTime = (Date) invaliadTime.clone();
		}
	}
}